package com.john.bms.model.system.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.john.bms.model.PageInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:张家小帅哥
 * @Date:2020/5/30
 * @Version:1.0
 * @Description:TODO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserPage extends PageInfo {

    private String userName;

    private int gender;

    private String phone;

    private String email;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date dateBirth;

}
